#ifndef LIBRARYFILTER_H
#define LIBRARYFILTER_H

#include <QComboBox>

class LibraryFilter : public QComboBox
{
    Q_OBJECT
public:
    enum Mode
    {
        LibraryMode = 0,
        GroupMode = 1,
        ReferenceMode = 2
    };

    explicit LibraryFilter(Mode mode, QWidget *parent = 0);
    
signals:
    
public slots:
    void addCategory(const QString &category);
    void removeCategory(const QString &category);

private:
    void init();

private:
    Mode            m_mode;
    
};

#endif // LIBRARYFILTER_H
